home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 2.toast / pc / sample code / processes / mp threaded sort / standardmenus.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-09-28  |  2.4 KB  |  95 lines

  1. /*
  2.     File:        StandardMenus.h
  3.  
  4.     Contains:    IDs and item numbers for standard menus
  5.  
  6.     Written by: Dave Falkenburg    
  7.  
  8.     Copyright:    Copyright © 1993-1999 by Apple Computer, Inc., All Rights Reserved.
  9.  
  10.                 You may incorporate this Apple sample source code into your program(s) without
  11.                 restriction. This Apple sample source code has been provided "AS IS" and the
  12.                 responsibility for its operation is yours. You are not permitted to redistribute
  13.                 this Apple sample source code as "Apple sample source code" after having made
  14.                 changes. If you're going to re-distribute the source, we require that you make
  15.                 it clear in the source that the code was descended from Apple sample source
  16.                 code, but that you've made changes.
  17.  
  18.     Change History (most recent first):
  19.                 7/27/1999    Karl Groethe    Updated for Metrowerks Codewarror Pro 2.1
  20.                 11/8/94        DRF                (LDR) Add Style Menu and adjust other menu IDs.
  21.  
  22. */
  23. #ifndef        _STANDARDMENUS_
  24. #define        _STANDARDMENUS_
  25.  
  26. #define        rMenuBar                    128
  27.  
  28. #define    mApple                            128
  29. #define        iAbout                        1
  30.  
  31. #define    mFile                            129
  32. #define        iNew                        1
  33. #define        iOpen                        2
  34. #define        iClose                        3
  35. #define        iSave                        5
  36. #define        iSaveAs                        6
  37. #define        iPageSetup                    8
  38. #define        iCustomPageSetup            9
  39. #define        iPrint                        10
  40. #define        iPrintOneCopy                11
  41. #define        iPreferences                13
  42. #define        iQuit                        15
  43.  
  44. #define    mEdit                            130
  45. #define        iUndo                        1
  46. #define        iCut                        3
  47. #define        iCopy                        4
  48. #define        iPaste                        5
  49. #define        iClear                        6
  50. #define        iSelectAll                    8
  51. #define        iCreatePublisher            10
  52. #define        iSubscribeTo                11
  53. #define        iPublishSubscribeOptions    12
  54. #define        iShowOrHideClipboard        14
  55.  
  56. #define    mFont                            131
  57.  
  58. #define    mSize                            132
  59. #define        i9PointSize                    1
  60. #define        i10PointSize                2
  61. #define        i12PointSize                3
  62. #define        i14PointSize                4
  63. #define        i18PointSize                5
  64. #define        i24Point                    6
  65. #define        i48Point                    7
  66. #define        i72Point                    8
  67. #define        iOtherPoint                    10
  68.  
  69. #define    mStyle                            133
  70. #define        iPlain                        1
  71. #define        iBold                        2
  72. #define        iItalic                        3
  73. #define        iUnderline                    4
  74. #define        iOutline                    5
  75. #define        iShadow                        6
  76. #define        iCondensed                    7
  77. #define        iExtended                    8
  78. #define        iColor                        10
  79. #define        iCustom                        11
  80.  
  81. #define    mMail                            134
  82. #define        iAddRemoveMailer            1
  83. #define        iSendLetter                    3
  84. #define        iReplyToSender                4
  85. #define        iReplyToAll                    5
  86. #define        iForwardLetter                6
  87. #define        iOpenNextLetter                8
  88. #define        iTagLetter                    9
  89.  
  90. #define    mWindows                        135
  91. #define        iTileWindows                1
  92. #define        iStackWindows                2
  93.  
  94. #endif
  95.